package pong.view;

import java.awt.Color;
import java.awt.Graphics2D;

import gameFramework.model.entites.Entity;
import gameFramework.view.*;

/**
 * @author Matthieu Paniez
 *
 */
public class GPController extends GEntity
{

	/**
	 * 
	 */
	public GPController(Entity model) 
	{
		super(model);
	}

	@Override
	public void draw(Graphics2D g2d)
	{
		g2d.setColor(Color.BLUE);
		g2d.fillRoundRect( model.getPosition().x, model.getPosition().y,
				this.model.getSize().width, this.model.getSize().height, 2, 2);
		
	}

}
